package com.innoking.docsys.workflow.dao.cluster;

import com.innoking.docsys.workflow.dto.UpmsActDefine;
import com.innoking.docsys.workflow.example.UpmsActDefineClusterExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ClusterUpmsActDefineDao {

    int countByExample(UpmsActDefineClusterExample example);

    int deleteByExample(UpmsActDefineClusterExample example);

    int deleteByPrimaryKey(Long adId);

    int insert(UpmsActDefine record);

    int insertSelective(UpmsActDefine record);

    List<UpmsActDefine> selectByExample(UpmsActDefineClusterExample example);

    UpmsActDefine selectByPrimaryKey(Long adId);

    int updateByExampleSelective(@Param("record") UpmsActDefine record, @Param("example") UpmsActDefineClusterExample example);

    int updateByExample(@Param("record") UpmsActDefine record, @Param("example") UpmsActDefineClusterExample example);

    int updateByPrimaryKeySelective(UpmsActDefine record);

    int updateByPrimaryKey(UpmsActDefine record);

}